How to raise customizable ValueError for input containing two dates

join shbcf.ru